package com.zh.work.entity.virtual;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@ApiModel("虚拟账户信息实体类")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("virtual_rate_type")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class VirtualRateTypeEntity extends Model<VirtualRateTypeEntity> {
  private static final long serialVersionUID = 8565810418817574689L;

  @ApiModelProperty(value = "主键", name = "id")
  @TableId(value = "id", type = IdType.AUTO)
  private Long id;
  @ApiModelProperty(value = "类别代码", name = "rateCode")
  private String rateCode;
  @ApiModelProperty(value = "费率名称", name = "rateName")
  private String rateName;
  @ApiModelProperty(value = "代付类型：1-T+0 2-T+1", name = "dfType")
  private Integer dfType;
  @ApiModelProperty(value = "1-余额代付 2-垫资代付", name = "payMode")
  private Integer payMode;
  @ApiModelProperty(value = "虚拟账户费率json字符串", name = "virtualJson")
  @TableField(exist = false)
  private String virtualJson;
  private transient  Integer deleted;


}
